﻿<%@ Page Title="河南省气象预警信息管理系统" Language="C#" MasterPageFile="~/MasterPages/BMP.master"
    AutoEventWireup="true" CodeFile="ZhiMa_old.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        if (window != top)
            top.location.href = location.href;
    </script>
    <script type="text/javascript" src="<%= ZPath.ScriptsURI %>InitValidate.js"></script>
    <style type="text/css">
        body
        {
            /*background-color: #7F99BE;13,123,213 d7bd5*/
            background-color:#0D7BD5;
            color: White;
            
        }
        .textBox
        {
                width:150px;  
                background: none repeat scroll 0 0 padding-box #E8F4FC;
                border: 1px solid #0D7BD5;
                border-radius: 5px 5px 5px 5px;
                box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 3px rgba(0, 0, 0, 0.3) inset;
                color: #888888;
                cursor: text;
                display: inline-block;
                font-size: 14px;
                line-height: 14px;
                margin: 0 0 14px;
                padding: 10px;
                
        }
        .textCode
        {
            width: 70px;
             background: none repeat scroll 0 0 padding-box #E8F4FC;
                border: 1px solid #0D7BD5;
                border-radius: 5px 5px 5px 5px;
                box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 3px rgba(0, 0, 0, 0.3) inset;
                color: #888888;
                cursor: text;
                display: inline-block;
                font-size: 14px;
                line-height: 14px;
                margin: 0 0 14px;
                padding: 10px;
            
        }
        .btn
        {
            /*background-image: url(<%= ZPath.ResourcesURI %>Resources/Images/btnbg.gif);*/
            text-align: center;
            width: 65px;
            background: none repeat scroll 0 0 #1E95E5;
            border: 1px solid #147DCD;
            color: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            font-size: 14px;
            line-height: 18px;
            padding: 6px 15px;
            text-align: center;
            text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
            border-radius: 5px 5px 5px 5px;
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
             
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" runat="Server">
    <form id="form1" runat="server">
    <div align="center" style="top: 100px; left: 35%; position: absolute;">
        <span style= "font-size: xx-large;  font-family: 黑体">
            河南省气象预警信息管理系统</span>
    </div>
    <table id="editBox" border="0" cellpadding="0" cellspacing="10" style="position: absolute;
        left: 40%; top: 200px;">
        <tr>
            <td align="right">
                用户名(User Name)：
            </td>
            <td style="width: 100px;">
                <asp:TextBox ID="txtUser" ClientIDMode="Static" emp="true" des="用户名(User Name)" errorID="errorUser"
                    runat="server" MaxLength="20" CssClass="textBox" ></asp:TextBox>
            </td>
            <td>
                <p id="errorUser">
                </p>
            </td>
        </tr>
        <tr>
            <td align="right">
                密 码(Password)：
            </td>
            <td>
                <asp:TextBox ID="txtPassowrd" emp="true" des="密 码(Password)" errorID="errorPWD" ClientIDMode="Static"
                    runat="server" TextMode="Password" MaxLength="20" CssClass="textBox" ></asp:TextBox>
            </td>
            <td>
                <p id="errorPWD">
                </p>
            </td>
        </tr>
        <tr>
            <td align="right">
                验证码(Validate Code)：
            </td>
            <td>
                <asp:TextBox ID="txtCode" emp="true" des="验证码(Validate Code)" errorID="codeError" Text=""
                    ClientIDMode="Static" runat="server" MaxLength="4" CssClass="textCode"></asp:TextBox>.
                <img align="absmiddle" id="codeImg" src="Services/CheckCode.ashx?type=admin" title="点击切换验证码"
                    alt="验证码" onclick="this.src='Services/CheckCode.ashx?type=admin&'+Math.random();"
                    style="cursor: pointer;" />
            </td>
            <td>
                <p id="codeError">
                </p>
            </td>
        </tr>
        <tr align="center">
            <td colspan="2">
                <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="登 录(Login)"
                    CssClass="btn" Width="120" OnClientClick="return OnEditSubmit(this);" />
            </td>
        </tr>
    </table>
    </form>
</asp:Content>
